package com.neusoft.neuiotms.dcam.workflow.vo;

import java.util.Date;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.handler.inter.IExcelDataModel;
import cn.afterturn.easypoi.handler.inter.IExcelModel;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class ArrivalAssetDetailImportVO implements IExcelDataModel, IExcelModel {

    @Excel(name = "ID", isColumnHidden = true)
    private Long id;

    @Excel(name = "到货主表ID", isColumnHidden = true)
    private Long arrivalId;

    @Excel(name = "合同项ID", isColumnHidden = true)
    private Long contractItemId;

    @Excel(name = "分类")
    private String assetType;

    @Excel(name = "产品名称")
    private String assetName;

    @Excel(name = "规格型号")
    private String specification;

    @Excel(name = "序列号")
    private String sequence;

    @Excel(name = "放置位置")
    private String location;

    @Excel(name = "维保开始时间", width = 25, format = "yyyy-MM-dd")
    private Date maintenanceStart;

    @Excel(name = "维保结束时间", width = 25, format = "yyyy-MM-dd")
    private Date maintenanceEnd;

    /** 维保负责人username */
    @Excel(name = "维保负责人")
    private String maintenanceUsername;

    /** 供应商 */
    @Excel(name = "供应商")
    private String manufacturerName;

    /** 维保说明 */
    @Excel(name = "维保说明")
    private String maintenanceNote;

    private int rowNum;

    private String errorMsg;

    @Override
    public Integer getRowNum() {
        return this.rowNum;
    }

    @Override
    public void setRowNum(final Integer rowNum) {
        this.rowNum = rowNum;
    }

    @Override
    public String getErrorMsg() {
        return this.errorMsg;
    }

    @Override
    public void setErrorMsg(final String errorMsg) {
        this.errorMsg = errorMsg;
    }
}
